package cn.kgc.jjl.workhome;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

public class InputStreamDemo01 {
	public static void main(String[] args) throws IOException {
		FileInputStream   is = new  FileInputStream("a.txt");
		 
		 int  i ;
		while ((i=is.read())!=-1) {
			System.out.println((char)i);
			
		}
		
		is.close();
	}

}
